package backend.ro.msg.gillardon.codecoverage;

import java.util.List;

public class CodeCoverage {

  private int count;
  private String text;
  private List<String> list;

  public CodeCoverage()
  {
    this.count = 2;
    this.text = "New Text";
    this.list = null;
  }

  public CodeCoverage(int count, String text, List<String> list) {
    super();
    this.count = count;
    this.text = text;
    this.list = list;
  }

  public int getCount() {
    return count;
  }

  public void setCount(int count) {
    this.count = count;
  }

  public String getText() {
    return text;
  }

  public void setText(String text) {
    this.text = text;
  }

  public List<String> getList() {
    return list;
  }

  public void setList(List<String> list) {
    this.list = list;
  }

  public void increment() {
    this.count++;
  }

  @Override
  public String toString() {
    return this.text + this.count;
  }

}
